export interface adminList {
    date: string,
    name: string,
    phone: number,
    password: string,
    authority: number,
    authorityname: string,
}

export interface authorityList {
    authority: number,
    authorityname: string,
}

export interface addBtn {
    show: boolean,
}

export interface adminFrom {
    name: string,
    phone: number,
    password: string,
    authority: number,
}

export class initData {
    // 订单列表
    orderListInt: adminList = {
        date: '',
        name: '',
        phone: 0,
        password: '',
        authority: 0,
        authorityname: '',
    }
    // 添加按钮
    addBtnInt: addBtn = {
        show: false,
    }
    // 添加表单
    adminFromInt: adminFrom = {
        name: '',
        phone: 0,
        password: '',
        authority: 0,
    }
    // 添加表单
    authorityListInt: authorityList = {
        authority: 0,
        authorityname: '',
    }
    // 管理员列表
    list: adminList[] = []
    // 权限列表
    authorityList: authorityList[] = []
}